#ifndef __INUMBERANDWORD_H__
#define __INUMBERANDWORD_H__

#include "BaseTypeDefin.h"
typedef vector<str> strvector;

class INumberAndWord
{
public:
	virtual long	getValue()		= 0;
	virtual int		getRank()		= 0;
	virtual str		getTranslate()	= 0;
	virtual str		getLastTranslateWord() = 0;
	virtual int		getType()		= 0;

	virtual void	setValue(long )		= 0;
	virtual void	setRank(int)		= 0;
	virtual void	setTranslate(str)	= 0;
	virtual void	setType(int)		= 0;
	virtual ~INumberAndWord() {};
	virtual INumberAndWord& operator=(INumberAndWord& temp) = 0;

protected:
	long			mValue;
	int				mRank;
	strvector		mTranslate;
	int				mType;
};
#endif __INUMBERANDWORD_H__